Click or drag to resize

SipClientSubscribe Method (String, String, String, String, String, Int32)

Subscribes in order to receiving notifications about a particular event specified with the event name.

Namespace:  Independentsoft.Sip
Assembly:  Independentsoft.Sip (in Independentsoft.Sip.dll) Version: 1.0.700.17927
Syntax
public RequestResponse Subscribe(
	string from,
	string to,
	string contact,
	string eventName,
	string allowEvents,
	int expires
)

Parameters

from
Type: SystemString
A string contains address and display name of the subscriber.
to
Type: SystemString
A string contains address of the recipient.
contact
Type: SystemString
A string contains user's contact address. Usually the address contains user's IP address and port.
eventName
Type: SystemString
A string contains name of the event.
allowEvents
Type: SystemString
A string contains names of allowed events.
expires
Type: SystemInt32
A number of seconds indicates duration of the subscription.

Return Value

Type: RequestResponse
A RequestResponse containing sent Request and received appropriate Response.
See Also